package com.example.administrator.myapplication.chat.classstring;

/**
 * Created by Administrator on 2018/12/14.
 */

public class ChatRecord {
    private String userId;
    private String chatId;
    private String chatTime;
    private int chatType;
    private String chatContent;

    @Override
    public String toString() {
        return "{" +
                "userId=" +userId+
                ",chatId=" +chatId+
                ",chatTime=" +chatTime+
                ",chatType=" +chatType+
                ",chatContent=" +chatContent+
                "}";
//        return "chat_record[" +
//                "userId=" +userId+
//                ",chatId=" +chatId+
//                ",chatTime=" +chatTime+
//                ",chatType=" +chatType+
//                ",chatContent=" +chatContent+
//                "]";
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getChatId() {
        return chatId;
    }

    public void setChatId(String chatId) {
        this.chatId = chatId;
    }

    public String getChatTime() {
        return chatTime;
    }

    public void setChatTime(String chatTime) {
        this.chatTime = chatTime;
    }

    public int getChatType() {
        return chatType;
    }

    public void setChatType(int chatType) {
        this.chatType = chatType;
    }

    public String getChatContent() {
        return chatContent;
    }

    public void setChatContent(String chatContent) {
        this.chatContent = chatContent;
    }
}
